// Copyright (c) 2010, Anthony Cassidy
// All rights reserved.
// 
// Redistribution and use in source and binary forms, with or without modification, are 
// permitted provided that the following conditions are met:
// 
//     * Redistributions of source code must retain the above copyright notice, this list 
//         of conditions and the following disclaimer.
//     * Redistributions in binary form must reproduce the above copyright notice, this 
//         list of conditions and the following disclaimer in the documentation and/or 
//         other materials provided with the distribution.
//     * Neither the name of the AntsAdventureGameCreator nor the names of its contributors 
//         may be used to endorse or promote products derived from this software without 
//         specific prior written permission.
// 
// 
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 
// OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT 
// SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 
// THE POSSIBILITY OF SUCH DAMAGE.

/*!
@page Example2
<h1>Example 2 - A project from scratch in QtCreator </h1>
<h2>Summary</h2>
This example shows how to create an executable from scratch in Qt Creator
<h2>Steps</h2> 
<ol>
<li><b>Download and Install Qt Creator 4 version 2009.04</b>
</li>

<li><b>Run Qt Creator</b>
</li>

<li><b>Choose File -> New</b>
<img src="FromScratch_01.png">
</li>

<li><b>Choose Qt4 Gui Application</b>
<img src="FromScratch_02.png">
</li>

<li><b>Create the project in the examples folder</b>
Change the 'Create in' field to the examples folder.
Let the 'Name' of the project be anything you like
<img src="FromScratch_03.png">
</li>

<li> <b>Hit 'Next'</b>
.. in regard to 'Select Required Modules'
<img src="FromScratch_04.png">
</li>


<li> <b>Hit 'Next'</b>
... in regard to 'Class Information'
<img src="FromScratch_05.png">
</li>


<li> <b>Hit 'Finish'</b>
... in regard to Project Management.
<img src="FromScratch_06.png">
</li>

<li> <b> Open the main.cpp file </b>
<img src="FromScratch_11.png">
</li>

<li> <b> Replace 'mainwindow' with 'GameWindow'</b>
<img src="FromScratch_18.png">
You will notice that if you try to compile now, you will get an error about being
unable to find MainWindow.h, so we need to edit the project and specify the include path
</li>

<li> <b> Open the .pro file </b>
<img src="FromScratch_08.png">
</li>

<li> <b> Add paths to the include and lib folders</b>

@code
INCLUDEPATH += ../../include
debug {
LIBS += -L "../../lib" -l "AntsLibraryD"
}else {
LIBS += -L "../../lib" -l "AntsLibrary"
}
@endcode
<img src="FromScratch_17.png">

<li> 
You can remove the mainwindow.h and mainwindow.cpp files from the project. 
These files aren't doing anything since we are inheriting from GameWindow.
</li>

After the above, you should be able to compile, link, and run the project now.
This exe has no rooms declared, however if you hit space
you can access the debug menu and open the room folder
from Example1.


</ol>
<br>
<br>
On to @ref Example3...
*/
